projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ebcca2
)
gesture: group continue conditions together
author
Carlos Garnacho
<carlosg@gnome.org>
Tue, 8 Apr 2014 18:44:38 +0000
(20:44 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Fri, 23 May 2014 17:54:25 +0000
(19:54 +0200)
gtk/gtkgesture.c
patch
|
blob
|
history
diff --git
a/gtk/gtkgesture.c
b/gtk/gtkgesture.c
index 1b5d95eebf2055560cdb3de25a9419a460d7e88b..ae84081fbf61c5b751f15f6170c18eadad639de4 100644
(file)
--- a/
gtk/gtkgesture.c
+++ b/
gtk/gtkgesture.c
@@
-134,9
+134,8
@@
_gtk_gesture_effective_n_points (GtkGesture *gesture)
while (g_hash_table_iter_next (&iter, NULL, (gpointer *) &data))
{
- if (data->state == GTK_EVENT_SEQUENCE_DENIED)
- continue;
- if (data->event->type == GDK_TOUCH_END ||
+ if (data->state == GTK_EVENT_SEQUENCE_DENIED ||
+ data->event->type == GDK_TOUCH_END ||
data->event->type == GDK_BUTTON_RELEASE)
continue;